package com.groupscore.user.dao;

import com.groupscore.user.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserDao extends JpaRepository<User, String> {

    /**
     * 根据用户名查找用户
     * @return
     */
    public User findByName(String name);

    //方法名即sql语句
}
